package com.pikaqiu.warehouse.domain.dto;

import com.pikaqiu.warehouse.domain.entity.Company;
import lombok.Data;

/**
 * @Author: Administrator
 * @Date: 2024/8/15
 */
@Data
public class CompanyDto {
    private Integer id;

    private String name;

    private Boolean isCurrent;

    public CompanyDto(Company company) {
        this.id = company.getId();
        this.name = company.getCompanyName();
    }
}
